package com.bj58.di.config;

import com.bj58.di.annotation.BookService;
import com.bj58.di.service.IBookService;
import com.bj58.di.service.impl.StoryBookService;
import com.google.inject.AbstractModule;

public class SelfAnnotationConfiguration extends AbstractModule  {
	@Override
	protected void configure() {
		 bind(IBookService.class)
	     .annotatedWith(BookService.class)
	     .to(StoryBookService.class);
		
	}
	
}
